{% if data.images AND count(data.images) > 1 %}
    <article class="node-image-list-item">
        <h3><a href="{{ url(['for':'node','contentModel':data.contentModel,'id':data.getId()]) }}" title="{{ data.title }}">{{ data.title }}</a></h3>
        <p class="body">{% if data.description is defined AND data.description %}{{ data.description }}{% else %}{{ subString(data.body,150,true) }}{% endif %}
            ..
        </p>
        <div class="node-images-list-table-wrapper">
        <table>
            <tr>
                {% if data.images is defined AND data.images %}
                    {% for img in data.images %}
                        {% if img %}
                            <td>
                                <img class="thumb" data-src="{{ thumbnail(270,165,img) }}"/>
                            </td>
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </tr>
        </table>
        </div>
        <p class="meta">
            <time><i class="fa fa-clock-o"></i>{{ timeTran(data.changed) }}</time>
            <span class="pv">
            <i class="fa fa-eye"></i>阅读(<span class="node-browse">{{ data.browse }}</span>)
        </span>
            <a class="pc" href="{{ url(['for':'node','contentModel':data.contentModel,'id':data.getId()]) }}#comments">
                <i class="fa fa-comments-o"></i>评论({{ data.commentNum }})
            </a>
            <span class="pv">
            <i aria-hidden="true" class="fa fa-fa"></i>
                {% if data.tags is defined %}
                    {% for item in term(data.tags) %}
                        <a class="tags" rel="tag" title="{{ item.name }}"
                           href="{{ url(['for':'term','contentModel':item.contentModel,'id':item.getId(),'page':1]) }}">{{ item.name }}</a>
                    {% endfor %}
                {% endif %}
        </span>
        </p>
    </article>
{% else %}
    <article class="node-list-item">

        {% if data.images is defined AND data.images is not empty %}
            <a href="{{ url(['for':'node','contentModel':data.contentModel,'id':data.getId()]) }}" class="node-thumb hidden-xs">
                {% for img in data.images %}
                    {% if img %}
                        <img class="thumb" data-src="{{ thumbnail(270,165,img) }}"/>
                    {% else %}
                        <img class="thumb" data-src="/images/file-img/270x165-{{ rand(1,7) }}.png"/>
                    {% endif %}
                {% endfor %}
            </a>
            <div class="node-content">
        {% else %}
            <div class="node-content node-content-no-images">
        {% endif %}



            <h3><a href="{{ url(['for':'node','contentModel':data.contentModel,'id':data.getId()]) }}" title="{{ data.title }}">{{ data.title }}</a></h3>
            <p class="body">{% if data.description is defined AND data.description %}{{ data.description }}{% else %}{{ subString(data.body,150,true) }}{% endif %}
                ..
            </p>
            <p class="meta">
                <time><i class="fa fa-clock-o"></i>{{ timeTran(data.changed) }}</time>
                <span class="pv">
                    <i class="fa fa-eye"></i>阅读(<span class="node-browse">{{ data.browse }}</span>)
                </span>
                <a class="pc" href="{{ url(['for':'node','contentModel':data.contentModel,'id':data.getId()]) }}#comments">
                    <i class="fa fa-comments-o"></i>评论({{ data.commentNum }})
                </a>
                <span class="pv">
                    <i aria-hidden="true" class="fa fa-fa"></i>
                    {% if data.tags is defined %}
                        {% for item in term(data.tags) %}
                            <a class="tags" rel="tag" title="{{ item.name }}"
                               href="{{ url(['for':'term','contentModel':item.contentModel,'id':item.getId(),'page':1]) }}">{{ item.name }}</a>
                        {% endfor %}
                    {% endif %}
                </span>
            </p>
        </div>
        <div class="clearfix"></div>
    </article>
{% endif %}